extern crate core;

use clap::Parser;
mod config;
mod handler;

use crate::config::config::Config;
use crate::handler::handle_file::resolve;

#[tokio::main]
async fn main() {
    let config = Config::parse();
    if let Err(e) = resolve(&config).await {
        eprintln!("Error: {}", e);
    }
}
